<!--{template header}-->
{~ui('loader')->js('@time.lesser')}
<div class="site-ms" >
<div class="bread-nav"><a href="?">首页</a><span>>></span><a href="?mod=countdown">限时抢购</a></div>
<div class="site-ms__left">  
{loop $product $data}
<div class="t_area_out">
<div class="countdown_goods">
<a class="deal-tile__cover" href="?view={$data['id']}"><img src="{$data['pic']}"/></a>
<div class="deal-tile__title">
<h2>{$data['name']}</h2>
<cite>{$data['intro']}</cite>
<dl>
<dd>&yen;{$data['nowprice']}<em>&yen;{$data['price']}</em></dd>
<dt>
{if $data['begin_date'] || $data['limit_time']}
<a href="javascript:;">即将开始</a>
{elseif $data['num']<=0}
<a href="javascript:;">已经售罄</a>
{else}
<a href="?mod=buy&code=checkout&id={$data['id']}">果断抢下</a>
{/if}
</dt>
</dl>
<div class="countdown_goods-link">
<span class="ml">
{if $data['begin_date']}
{$data['begin_date']} 开抢
{elseif $data['limit_time']}
开抢倒计时：<div class="deal_djs" id="remainTime_{$data['id']}"></div></span>
<script language="javascript">
addTimeLesser($data['id'], $data['limit_time']);
</script>
{/if}
</span>
<span class="mr">剩余数量：{$data['num']}</span>
</div>         
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$("cite span").removeAttr("style") ;
});
</script>
{/loop}
</div> 
<div class="site-ms__right">
{~ui('widget')->load('countdown')}
{~ui('widget')->load()}
</div>
</div>
<!--{template footer}-->